package com.rtech.app.model;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * File class represent file(s) on system.
 * 
 * @author ruchi
 * 
 */
@XmlRootElement(name = "file")
public class File implements Node {

	private String name;
	private String path;
	private String permissions;
	private boolean isExist;

	public boolean isExist() {
		return isExist;
	}

	public void setExist(boolean isExist) {
		this.isExist = isExist;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getPermissions() {
		return permissions;
	}

	public void setPermissions(String permissions) {
		this.permissions = permissions;
	}

}
